package com.colorfruit.admin.pojo.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
public class FoundationUserReceiveAddress {
    private Long id;

    private Byte recordStatus;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 是否默认
     */
    private Byte isDefault;

    private String provinceCode;
    /**
     * 省
     */
    @NotBlank
    private String provinceName;

    private String cityCode;
    /**
     * 市
     */
    private String cityName;

    private String areaCode;
    /**
     * 区
     */
    private String areaName;
    /**
     * 地址详细信息
     */
    private String addressDescription;
    /**
     * 经度
     */
    private String longitude;
    /**
     * 纬度
     */
    private String latitude;

    private Integer useNum;
    /**
     * 店铺名称
     */
    private String shopName;

    private String userName;

    private String phone;

    private Long pickerAddressId;

    private Date createTime;

    private Date updateTime;

}